package com.mutual.system.user.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.mutual.commom.dao.BaseDao;
import com.mutual.system.user.pojo.User;

@Mapper
public interface UserDao extends BaseDao<User>{

	List<User> selectUserList(Map<String,Object> param);
	
	int selectUserListCount(Map<String,Object> param);
	
	User selectUser(User user);
	/**
	 * 密码重置
	 * @param param
	 */
	void resetUsersPassword(Map<String,Object> param);
	/**
	 * 用户解锁或锁定
	 * @param status
	 * @param ids
	 */
	void updateUsersLock(Map<String,Object> param);
}
